package com.alcloud.springplus.controller;

import com.alcloud.springplus.base.GenericService;
import com.alcloud.springplus.domain.User;
import com.alcloud.springplus.service.UserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
  *
  * @className:      UserController
  * @description:    用户表接口类
  * @date:           2018-12-14 09:30:20
  * @author:         AllG
  * @updateRemark:   更新说明
 */
@RestController
@RequestMapping("user")
public class UserController extends GenericController<User,Integer>{

    private final static Logger logger = LoggerFactory.getLogger(UserController.class);

    @Autowired
    private UserService userService;

    public UserController(GenericService<User, Integer> genericService) {
        super(genericService);
    }

}
